package com.leizi.igym.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.leizi.igym.domain.Course;
import com.leizi.igym.dto.CoursePageQueryDTO;
import com.leizi.igym.vo.CourseGoodsVO;
import com.leizi.igym.vo.CourseVO;
import org.apache.ibatis.annotations.Param;

/**
* @author PC
* @description 针对表【t_course(课程表)】的数据库操作Mapper
* @createDate 2024-04-18 16:09:16
* @Entity com.leizi.igym.domain.Course
*/
public interface CourseMapper extends BaseMapper<Course> {

    CourseVO selectVOById(Long id);

    Page<CourseVO> selectVOPage(Page<CourseVO> page, @Param(Constants.WRAPPER) QueryWrapper<Course> qw);

    Page<CourseGoodsVO> selectCourseGoodsList(Page<CourseGoodsVO> page,@Param(Constants.WRAPPER) QueryWrapper<Course> qw);
}




